package com.hxgis.common.conare;

import com.hxgis.common.entity.RainstormInfo;

import java.util.List;
import java.util.Set;

/**
 * 多个站点暴雨过程的时间计算
 */
public class RainstormGroup {

    /**
     * 区域标识
     */
    private String areaFlag;

    private Set<RainstormInfo> rainstormInfos;

    public RainstormGroup(Set<RainstormInfo> rainstormInfos, String areaFlag) {
        this.rainstormInfos = rainstormInfos;
        this.areaFlag = areaFlag;
    }

//
//    public boolean merge(RainstormGroup rainstormGroup){
//
//    }

    public RainstormGroup() {
    }

    public Set<RainstormInfo> getRainstormInfos() {
        return rainstormInfos;
    }

    public void setRainstormInfos(Set<RainstormInfo> rainstormInfos) {
        this.rainstormInfos = rainstormInfos;
    }

    public String getAreaFlag() {
        return areaFlag;
    }

    public void setAreaFlag(String areaFlag) {
        this.areaFlag = areaFlag;
    }
}
